const { downloadFromPexels } = require("./pexelsCommon");

/**
 * 从Pexels下载视频
 * @param {string} query - 搜索关键词
 * @param {string} outputPath - 输出文件路径
 * @returns {boolean} 是否成功下载
 */
async function downloadVideoFromPexels(query, outputPath) {
  return await downloadFromPexels(query, outputPath, "video");
}

module.exports = {
  downloadVideoFromPexels,
};
